<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>变成钱的标志</title>
    <script src="../../vue.js"></script>
    <style>
    </style>
    <script>
        window.onload=function () {
            new Vue({
                el:'#box',
                data: {
                }
            });
        };
    </script>
</head>
<body>
<div id="box">
    <!--$12.00-->
    {{12|currency}}
    <!--传参改单位的标志-->
    <!--￥88.00-->
    <!--写法currency+“空格”+“参数”-->
    {{88|currency '￥'}}
    {{28|currency 'RMB'}}
</div>
</body>
</html>